package com.healthlink.appcloudcalllib.common;

import com.healthlink.appcloudcalllib.utils.Out;

public class ClickUtils {
    public static long lastClickTime;

    /**
     * 防止重复点击
     * @return
     */
    public static boolean isFastClick() {
        boolean flag = false;
        long showTime = System.currentTimeMillis();
        if ((showTime - lastClickTime) >= 1000) {
            lastClickTime = showTime;
            flag = true;
        }

        return flag;
    }
}
